import moment from '@/lib/moment/moment.min.js'

// 存放常量
export default {
	ImgLoadingUrl:'https://pic.cwyyt.cn/upload/20230727/160117117_2023072716969.png',
	GoBackObj: {
		scrollTop: 0,
		pageIndex: 0,
	},
	AppBackTime: moment().add(-1, 'h'), // 安卓手机按返回键
	ActiveStatusObj: {
		10: '报名中',
		20: '进行中',
		30: '已结束',
	},
	MarryTypes: [{
			text: "未婚",
			value: 10
		},
		{
			text: "离异无孩",
			value: 20
		},
		{
			text: "离异带孩",
			value: 30
		},
		{
			text: "离异不带孩",
			value: 40
		},
		{
			text: "丧偶",
			value: 50
		},
	],

	HouseCarTypes: [{
			text: "有房有车",
			value: 10
		},
		{
			text: "有房无车",
			value: 20
		},
		{
			text: "无房有车",
			value: 30
		},
		{
			text: "无房无车",
			value: 40
		}
	],
	EduTypes: [{
			text: "中专",
			value: 10
		},
		{
			text: "大专",
			value: 20
		},
		{
			text: "本科",
			value: 30
		},
		{
			text: "研究生",
			value: 40
		},
		{
			text: "博士",
			value: 50
		},
	],
	SexTypes: [{
			text: "男",
			value: 1
		},
		{
			text: "女",
			value: 2
		}
	],
	RefreshIcon: {
		size: '22',
		type: 'refreshempty'
	},
	HistoryIcon: {
		size: '22',
		type: 'calendar'
	},
	CollectIcon: {
		size: '22',
		type: 'star'
	},
	MyUserIcon: {
		size: '22',
		type: 'staff-filled'
	},
	HeartIcon: {
		size: '22',
		type: 'heart'
	},
	ContractIcon: {
		size: '22',
		type: 'contact'
	},
	CstServiceIcon: {
		size: '22',
		type: 'personadd-filled'
	},
	SettingIcon: {
		size: '22',
		type: 'gear-filled'
	},
	PicDomain: 'https://pic.cwyyt.cn',
	DemoIndexConstData: {
		listRefrsh: 'DemoIndexConstData_ListRefrsh' // 表格刷新
	},
	// TestUserInfo: {
	// 	id: "b4a092d8-9f66-47be-4199-08db9bf795c1",
	// 	headImgurl: "https://pic.cwyyt.cn/upload/20240129/0943394339_133509662192561825.png",
	// 	nickName: "tchdfun",
	// 	openid: "oIaV0wzU3owQpNB2JipxTErO4nlc",
	// 	userInfoType: 0,
	// 	wxUserInfoMobilePhone: ""
	// },
	DemoEditConstData: {
		studentItem: {
			"id": "b5e17d7f-abdf-4894-e188-08d7d07c4566",
			"studentName": "21321",
			"studentAge": 0,
			"studentBirthday": "2020-05-12 00:00:00",
			"studentHeight": 10089,
			"studentIsVip": 0,
			"studentLevel": 1,
			"classGUID": "d3161c21-ff96-7ee3-ff81-ad644880a959",
			"studentDesc": "12312",
			"studentFavor": "篮球,足球",
			"tenantId": "UR0700000012",
			"isDeleted": 0,
			"createTime": "2020-03-25 13:32:01",
			"createGUID": "eb87bd77-d30d-40db-8d06-25d69c85e5c7",
			"createdName": "王元元",
			"modifiedTime": "2020-05-13 18:43:26",
			"modifiedGUID": "eb87bd77-d30d-40db-8d06-25d69c85e5c7",
			"modifiedName": "111.175.80.104王元元",
			"approveState": null,
			"approveGUID": null,
			"approveTime": null,
			"buUnitGUID": "GZH0900000036",
			"studentHeadUrl": "https://pic.cwyyt.cn/upload/img/20200513/1917521752_snipaste20200511_155348.png",
			"studentMeRemark": "<p>test</p><p><strong>123</strong></p><p><strong><img src=\"/lib/YdmJUI/static/plugins/ueditorApp/upload/image/20200513/6372499220365066329590924.png\" title=\"snipaste20200511_155348.png\" alt=\"snipaste20200511_155348.png\"/></strong></p>",
			"studentFile": null,
			"className": "425-27-5785"
		}
	},
	ImMessages: {
		"unreadTotal": 0,
		"conversations": [{
				"type": "private",
				"userId": "fdee46b0-4b01-4590-bdba-6586d7617f95",
				"lastMessage": {
					"read": false,
					"receiverId": "fdee46b0-4b01-4590-bdba-6586d7617f95",
					"senderId": "3bb179af-bcc5-4fe0-9dac-c05688484649",
					"messageId": "72f22610d2ad11ec81009126b01781a5",
					"payload": {
						"text": "12321[傲慢]"
					},
					"timestamp": 1652440294129,
					"type": "text",
					"recalled": false,
					"status": "fail",
					"buildOptions": {
						"type": "text",
						"createOptions": {
							"text": "12321[傲慢]",
							"to": {
								"id": "fdee46b0-4b01-4590-bdba-6586d7617f95",
								"type": "private",
								"data": {
									"name": "Tracy",
									"avatar": "/static/images/Avatar-3.png"
								}
							},
							"notification": {
								"title": "Wallace发来一段文字",
								"body": "12321[傲慢]"
							}
						},
						"complete": {},
						"payload": {
							"text": "12321[傲慢]"
						}
					}
				},
				"unread": 0,
				"top": false,
				"data": {
					"name": "Tracy",
					"avatar": "/static/images/Avatar-3.png"
				}
			},
			{
				"type": "group",
				"groupId": "group-dbb0-4bc9-99c6-fa77b9eb763f",
				"lastMessage": {
					"groupId": "group-dbb0-4bc9-99c6-fa77b9eb763f",
					"senderData": {
						"name": "Wallace",
						"avatar": "/static/images/Avatar-2.png"
					},
					"senderId": "3bb179af-bcc5-4fe0-9dac-c05688484649",
					"messageId": "68c8ad80d2ad11ec81009126b01781a5",
					"payload": {
						"text": "[信封]123"
					},
					"timestamp": 1652440277080,
					"type": "text",
					"recalled": false,
					"status": "fail",
					"buildOptions": {
						"type": "text",
						"createOptions": {
							"text": "[信封]123",
							"to": {
								"id": "group-dbb0-4bc9-99c6-fa77b9eb763f",
								"type": "group",
								"data": {
									"name": "GoEasy交流群",
									"avatar": "/static/images/goeasy.jpeg"
								}
							},
							"notification": {
								"title": "Wallace发来一段文字",
								"body": "[信封]123"
							}
						},
						"complete": {},
						"payload": {
							"text": "[信封]123"
						}
					}
				},
				"unread": 0,
				"top": false,
				"data": {
					"name": "GoEasy交流群",
					"avatar": "/static/images/goeasy.jpeg"
				}
			},
			{
				"type": "private",
				"userId": "08c0a6ec-a42b-47b2-bb1e-15e0f5f9a19a",
				"lastMessage": {
					"read": false,
					"receiverId": "08c0a6ec-a42b-47b2-bb1e-15e0f5f9a19a",
					"senderId": "3bb179af-bcc5-4fe0-9dac-c05688484649",
					"messageId": "60184060d2ad11ec81009126b01781a5",
					"payload": {
						"text": "12321"
					},
					"timestamp": 1652440262502,
					"type": "text",
					"recalled": false,
					"status": "fail",
					"buildOptions": {
						"type": "text",
						"createOptions": {
							"text": "12321",
							"to": {
								"id": "08c0a6ec-a42b-47b2-bb1e-15e0f5f9a19a",
								"type": "private",
								"data": {
									"name": "Mattie",
									"avatar": "/static/images/Avatar-1.png"
								}
							},
							"notification": {
								"title": "Wallace发来一段文字",
								"body": "12321"
							}
						},
						"complete": {},
						"payload": {
							"text": "12321"
						}
					}
				},
				"unread": 0,
				"top": false,
				"data": {
					"name": "Mattie",
					"avatar": "/static/images/Avatar-1.png"
				}
			}
		]
	}
}